#ifndef WINEDIT_H
#define WINEDIT_H

#include "baseSubWindow.h"

class winEdit :
	public baseSubWindow
{
public:
	winEdit();
	virtual ~winEdit();
	virtual HWND Create(TCHAR tsname[], HWND hwnd);
	int addWindowProc(WNDPROC newProc);

	WNDPROC getOldProc();
	WNDPROC getNewProc();
protected:
	static LRESULT CALLBACK winProcShell(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
protected:
	WNDPROC m_oldProc;
	WNDPROC m_newProc;
};

#define DEFWNDRPOC(procname)\
	LRESULT CALLBACK procname(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
#endif